Lines Matching defs:baseSystemId
455 * @param baseSystemId The base system identifier of the entity.
467 String baseSystemId) throws IOException {
469 if (baseSystemId == null) {
473 baseSystemId = fCurrentEntity.entityLocation.getExpandedSystemId();
479 baseSystemId = externalEntity.entityLocation.getExpandedSystemId();
485 new XMLEntityDescriptionImpl(name, publicId, literalSystemId, baseSystemId,
486 expandSystemId(literalSystemId, baseSystemId, false)), null, fInExternalSubset);
518 String baseSystemId, String notation) {
521 new XMLEntityDescriptionImpl(name, publicId, systemId, baseSystemId, null),
594 String baseSystemId = xmlInputSource.getBaseSystemId();
604 String expandedSystemId = expandSystemId(literalSystemId, baseSystemId, fStrictURI);
605 if (baseSystemId == null) {
606 baseSystemId = expandedSystemId;
830 fCurrentEntity = new com.sun.xml.internal.stream.Entity.ScannedEntity(name,new XMLResourceIdentifierImpl(publicId, literalSystemId, baseSystemId, expandedSystemId),stream, reader, encoding, literal, encodingExternallySpecified, isExternal);
833 fResourceIdentifier.setValues(publicId, literalSystemId, baseSystemId, expandedSystemId);
936 String baseSystemId = resourceIdentifier.getBaseSystemId();
945 // REVISIT: why would the baseSystemId ever be null? if we
948 if (baseSystemId == null && fCurrentEntity != null && fCurrentEntity.entityLocation != null) {
949 baseSystemId = fCurrentEntity.entityLocation.getExpandedSystemId();
950 if (baseSystemId != null)
954 expandedSystemId = expandSystemId(literalSystemId, baseSystemId,false);
968 ri.setValues(publicId, literalSystemId, baseSystemId, expandedSystemId);
1000 staxInputSource = new StaxXMLInputSource(new XMLInputSource(publicId, literalSystemId, baseSystemId));
1024 * @param baseSystemId The base system identifier of the entity.
1040 String baseSystemId = resourceIdentifier.getBaseSystemId();
1051 // REVISIT: why would the baseSystemId ever be null? if we
1054 if (baseSystemId == null && fCurrentEntity != null && fCurrentEntity.entityLocation != null) {
1055 baseSystemId = fCurrentEntity.entityLocation.getExpandedSystemId();
1056 if (baseSystemId != null)
1060 expandedSystemId = expandSystemId(literalSystemId, baseSystemId,false);
1066 resourceIdentifier.setBaseSystemId(baseSystemId);
1080 xmlInputSource = new XMLInputSource(publicId, literalSystemId, baseSystemId);
1885 public static String expandSystemId(String systemId, String baseSystemId) {
1907 if (baseSystemId == null || baseSystemId.length() == 0 ||
1908 baseSystemId.equals(systemId)) {
1913 base = new URI(fixURI(baseSystemId));
1915 if (baseSystemId.indexOf(':') != -1) {
1918 base = new URI("file", "", fixURI(baseSystemId), null, null);
1921 dir = dir + fixURI(baseSystemId);
1953 public static String expandSystemId(String systemId, String baseSystemId,
1982 if (baseSystemId == null || baseSystemId.length() == 0) {
1988 base = new URI(baseSystemId);
1993 dir = dir + baseSystemId;
2007 return expandSystemIdStrictOff(systemId, baseSystemId);
2016 return expandSystemIdStrictOff1(systemId, baseSystemId);
2033 if (baseSystemId == null || baseSystemId.length() == 0 ||
2034 baseSystemId.equals(systemId)) {
2039 base = new URI(fixURI(baseSystemId).trim());
2042 if (baseSystemId.indexOf(':') != -1) {
2045 base = new URI("file", "", fixURI(baseSystemId).trim(), null, null);
2048 base = new URI(getUserDir(), fixURI(baseSystemId));
2070 private static String expandSystemIdStrictOn(String systemId, String baseSystemId)
2081 if (baseSystemId == null || baseSystemId.length() == 0) {
2085 baseURI = new URI(baseSystemId, true);
2119 private static String expandSystemIdStrictOff(String systemId, String baseSystemId)
2139 if (baseSystemId == null || baseSystemId.length() == 0) {
2143 baseURI = new URI(baseSystemId, true);
2160 private static String expandSystemIdStrictOff1(String systemId, String baseSystemId)
2180 if (baseSystemId == null || baseSystemId.length() == 0) {
2184 baseURI = new URI(baseSystemId, true);