Expand my Community achievements bar.

SOLVED

org.apache.jackrabbit.server.io.XmlHandler: /content/ReversePage/content_example.xml importing... Import failed: java.io.IOException: No child node definition f

Avatar

Former Community Member

Hi CQ5 Professional ,

 When am uploading the CQ support XML files through CONTENT LOADER CQ 5.4 in JCR repository.

 Am getting

     org.apache.jackrabbit.server.io.XmlHandler: /content/ReversePage/content_example.xml importing...
Import failed: java.io.IOException: No child node definition for jcr:root found in node /content/ReversePage/content_example.xml/jcr:content

Please tell me the solution to fix this issue .

Its urgent i need to implement this soon.

For Reference i have attached XML Doc and Screen shot

Thanks in advance

 [img]error.JPG[/img]

 

Here is my xml :

 

<?xm1 version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" jcr:primaryType="cq:Page">

<jcr:content contentOwner="mwheeler" cq:designPath="/etc/designs/help" cq:lastModified="{Date)2011-O1-OSTOO:00:00.00O-08:00" cq:tags="[content_type:reference]" cq:template="/apps/help/templates/helppage"
draft="false" gep_conversion_script_version="head1_20111213" jcr:1anguage="en_us" jcr:primaryType="cq:PageContent"
jcr:title="Converting between color modes" navTit1e="Converting between color modes" searchPhrases="RGB, CMHR} saturation, Ruler"
sling:resourceType="help/components/helppage"
sortDate="{Date}2011-O1-05TO0:OO:00.000-08:O0">

<title jcr:primaryType="nt:unstructured" sling:resourceType="help/components/pagetitle"
text="Converting between color modes"/>
<main-pars jcr:primaryType="nt:unstructured" sling:resourceType="foundation/components/parsys">
<minitoc jcr:primaryType="nt:unstructured" sling:resourceType="help/coponents/minitoc"/>
<heading_0 adoberuntime="" draftOnly="false" id="convert_an_image_to_another_color_mode" jcr:primaryType="nt:unstructured" level="2"
sling:resourceType="help/components/header" text="Convert an image to another color:mode" textIsRich="true"/>
<text_0 draftOnly="false" jcr:primaryType="nt:unstructured" sling:resourceType="help/components/text"
text="You can change an image from its original mode (source moe) to a different mode (target moe).
When you choose a different color ode for an image, you permanently change the color values in the image.
For example, when you convert an RGB
image to CMHR'mode, RGB color values outside the CMMR'gamut (defined&#l0:by the CHR
working space setting in the" textIsRich="true"/>
<text_1 draftOnly="false" jcr:primaryType="nt:unstructured" sling:resourceType="help/coponents/text" text="<ul><li><p>
as much editing as possible in the&#l0:original image mode (usually RGB for images from most scanners or&#l0:digital cameras, or CM!
for images from traditional drum scanners or iported from a Scitex system)" textIsRich="true"/>
<note_1 draftOnly="false" jcr:primaryType="nt:unstructured" sling:resourceType="help/coponents/note"
text="You can also load saved color tables into the Swatches panel" textIsRich="true"/>
<related-links columnDisplay="two_column" jcr:primaryType="nt:unstructured" sling:resourceType="help/components/relatedlinks">
<linklist jcr:primaryType="nt:unstructured">
<_x003O_ jcr:primaryType="nt:unstructured" text="About color working spaces"
url="#UnresolvedLink-/XML/en-us/Products/CreativeSuite/CS5/Using/csh;color;cm.xml#WS380A271D-1873-4fe1-B1B3-44F762810CBB"/>
<_xOO31_ jcr:primaryType="nt:unstructured" text="Antomating with actions"
ur1="#UnresolvedLink-phs_automate_au.xml#WSfd1234e1c4b69f30ea53e41001031ab64-7451a"/>
</1inklist>
</related-links>
</main-pars>

</jcr:content>

</jcr:root>

1 Accepted Solution

Avatar

Correct answer by
Level 10

Have you read this documentation topic:

http://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html

Also -- can you please describe what you are trying to do exactly?

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Have you read this documentation topic:

http://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html

Also -- can you please describe what you are trying to do exactly?